package com.zndroid.shadower;

import android.view.View;

import androidx.core.view.ViewCompat;

public class ShadowHelper {
    public void shadow(View view, ShadowViewDrawable drawable) {
        ViewCompat.setBackground(view, drawable);
        view.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
    }
}
